package com.xunlai.infra.permission.storage.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liang
 * @date 12/21/22 2:31 PM
 */
@Table("system_employee")
@Data
@EqualsAndHashCode(callSuper = false)
public class Employee extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 4887429964054518030L;

    @Id
    private Long id;

    private Long accountId;

    private String account;

    private Long positionId;

    private Long departId;

    private Short status;



}
